function getScreen(){ 
		var screenWidth = document.documentElement.clientWidth;
		var screenHeight = Math.max(document.documentElement.clientHeight,document.body.offsetHeight);
		return {w : screenWidth,h : screenHeight};
	}

	
	function clearText(_this){
		_this.parentNode.className = "loginBgHover";
	}
	function detectText(_this,oldValue){
		if(_this.value.replace(/(^\s*)|(\s*$)/g,"") == ""){
			_this.parentNode.className = "loginBg";
		}
	}
	
	function changeStatus(_this){
		var __this = _this;
		_this = _this.parentNode.getElementsByTagName("div")[0];
		if(hasClass(_this,"radioImg")){
			removeClass(_this, "radioImg");
			addClass(_this, "radioImg02");
			__this.value = 1;			
		}else{
			removeClass(_this, "radioImg02");
			addClass(_this, "radioImg");
			__this.value = 0;
		};
	}
	
	function hasClass(obj, targetClass) {
        return new RegExp("(^|\\s)" + targetClass + "(\\s|$)").test(obj.className);
    }
    function addClass(obj, targetClass) {
        if (!hasClass(obj, targetClass)) {
            obj.className = obj.className == "" ? targetClass: obj.className + " " + targetClass;
        }
    }
    function removeClass(obj, targetClass) {
        if (hasClass(obj, targetClass)) {
            obj.className = obj.className.replace(new RegExp("(^|\\s)" + targetClass + "(\\s|$)"), "");
        }
    }